package com.nnxy.worktostudy.system.mapper;

import com.nnxy.worktostudy.system.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author luye
 * @since 2021-09-26
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 根据id查找权限
     * @param id id
     * @return 权限列表
     */
    List<String> selectPermissionValueByUserId(Long id);
}
